long q(long x){
    return 2*x;
}

long p(long x, long y){
    long u = q(y);
    long v = q(x);
    return u+v;
}